
/*
 * Hlpay-Plus aggregate payment system. Copyright
 * (c) 2022-2023 Hlpay Team Copyright has the right of final interpretation.
 */
package com.hlkj.pay.dto.common;
import com.hlkj.pay.enums.AdminUserEnum;
import com.hlkj.pay.enums.CommonEnum;
import com.hlkj.pay.infrastructure.model.admin.AdminUserLoginLogDO;

import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/09/17 15:16
 */
@Data
public class BusinessLogDto {

    private Long      userId;
    /**
     * @see AdminUserEnum.MESSAGE_LOG_TYPE
     */
    private Integer      logType;
    /**
     * 模块中的子类型
     */
    private Integer      type;
    /**
     * 模块类型
     * @see CommonEnum.CHANGE_LOG_MODEL_TYPE
     */
    private Integer      modelType;
    private String logCode;
    private String permissionCode;
    
    private AdminUserLoginLogDO adminUserLoginLogDO;
    private String beforeValue;
    private String afterValue;
    
    private String relationCode;
    
    /**
     * 请求body
     */
    private String params;
    /**
     * 返回
     */
    private String response;
    /**
     * ip
     */
    private String ip;
    /**
     * ip 地址
     */
    private String ipLocation;
    private Long startTime;
}
